Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: merge multiple EntryPointType structs #1318

Merged
merged 1 commit into from
Oct 13, 2024
Merged

Conversation

noaov1
Copy link
Collaborator

@noaov1 noaov1 commented Oct 10, 2024

This change is Reviewable

@noaov1 noaov1 force-pushed the noa/unify_ep_type_enum branch 11 times, most recently from 60411ad to 939d400 Compare October 11, 2024 06:25
Copy link

codecov bot commented Oct 11, 2024

Codecov Report

Attention: Patch coverage is 7.14286% with 13 lines in your changes missing coverage. Please review.

Project coverage is 71.63%. Comparing base (b0cfe82) to head (faf52e8).
Report is 322 commits behind head on main.

Files with missing lines Patch % Lines
crates/papyrus_protobuf/src/converters/class.rs 0.00% 12 Missing ⚠️
...s/papyrus_storage/src/serialization/serializers.rs 0.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1318      +/-   ##
==========================================
- Coverage   74.18%   71.63%   -2.56%     
==========================================
  Files         359      207     -152     
  Lines       36240    25824   -10416     
  Branches    36240    25824   -10416     
==========================================
- Hits        26886    18499    -8387     
+ Misses       7220     5694    -1526     
+ Partials     2134     1631     -503     
Flag Coverage Δ
?

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@meship-starkware meship-starkware left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 32 of 34 files at r1, all commit messages.
Reviewable status: 32 of 34 files reviewed, 1 unresolved discussion (waiting on @dorimedini-starkware, @noaov1, and @yair-starkware)


crates/papyrus_test_utils/src/lib.rs line 599 at r1 (raw file):

        External = 1,
        L1Handler = 2,
    }

Does this test enum and the real one have the same meaning?

Code quote:

    pub enum DeprecatedEntryPointType {
        Constructor = 0,
        External = 1,
        L1Handler = 2,
    }

Copy link
Contributor

@meship-starkware meship-starkware left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 2 of 34 files at r1.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @dorimedini-starkware, @noaov1, and @yair-starkware)

Copy link
Contributor

@yair-starkware yair-starkware left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewed 34 of 34 files at r1, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @dorimedini-starkware and @noaov1)

Copy link
Collaborator

@dorimedini-starkware dorimedini-starkware left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewed all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @noaov1)

Copy link
Collaborator Author

@noaov1 noaov1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @noaov1)


crates/papyrus_test_utils/src/lib.rs line 599 at r1 (raw file):

Previously, meship-starkware (Meshi Peled) wrote…

Does this test enum and the real one have the same meaning?

Yes

@noaov1 noaov1 merged commit 3ae5b34 into main Oct 13, 2024
23 checks passed
@noaov1 noaov1 deleted the noa/unify_ep_type_enum branch October 13, 2024 09:15
@github-actions github-actions bot locked and limited conversation to collaborators Oct 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants